<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>
<h1 style="...">用户输入</h1>
<form action="/login/" method="post">
    <input type="text" name="username"/>
    <input type="password" name="password"/>
    {% csrf_token %}
    <input type="submit" value="提交"/>
    <script src="/static/js/jquery-1.12.4.js"></script>

</form>

<h1 style="...">用户展示</h1>
<table border="1">
    <thead>
    <th> 用户名</th>
    <th> 密码</th>

    </thead>
    <tbody>
    {% for line in data %}
        <tr>
            <td>{{ line.user }}</td>
            <td>{{ line.pwd }}</td>
        </tr>

    {% endfor %}
    </tbody>

</table>
</body>
</html>